package org.lboot.flow.module.process;

import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation;

import java.util.List;

public interface FlowProcessDAO extends JpaRepositoryImplementation<FlowProcess,String> {
    /**
     * 根据流程实例ID删除
     * @param flowWorkId
     */
    void deleteByFlowWorkId(String flowWorkId);

    /**
     * 根据流程ID列表查询
     * @param ids
     * @return
     */
    List<FlowProcess> findByFlowWorkIdIn(List<String> ids);


}
